package com.zzyl.entity;

import com.zzyl.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.util.Date;
import java.io.Serializable;

/**
 * 用户角色关联表(UserRole)实体类
 *
 * @author makejava
 * @since 2024-06-14 22:54:13
 */

/**
 * 用户角色关联表(UserRole)实体类
 *
 * @author makejava
 * @since 2024-06-12 12:22:35
 */
@Data
@SuperBuilder
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@ApiModel
public class UserRole extends BaseEntity {

    @ApiModelProperty("用户ID")
    private Long userId;
    @ApiModelProperty("角色ID")
    private Long roleId;
    @ApiModelProperty("数据状态（0正常 1停用）")
    private String dataState;

}


